package lee.study.jni;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class TestjniActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        TextView a = (TextView) findViewById(R.id.test);
        a.setText(helloAndroid());
    }
    
    static {
    	System.loadLibrary("testjni");
    }
    
    public native String helloAndroid();
    
}